/** 
 * 文 件 名:BloodPressure.java
 * Copyright (C) 2007-2012:杭州希禾信息技术有限公司 版权所有 
 * 创 建 人:刘绍辉
 * 日    期:2012-3-12 下午12:09:00
 * 修 改 人: 
 * 日   期:
 * 修改描述:
 * 描   述:TODO
 */
package net.seehealth.healthpad.model.upload;

import net.seehealth.healthpad.application.base.BaseModel;
/**
 * @className BloodPressure
 * @author 刘绍辉
 * @description 血压
 * @date 2012-3-14 下午14:09:00
 */
public class BloodPressure extends BaseModel {
	/**
	 * 主键ID
	 */
	private Integer bid;
	/**
	 * 用户ID
	 */
	private Integer userID;
	/**
	 * 收缩压
	 */
	private float bloodpressure;
	
	/**
	 * 舒张压
	 */
	private float diastolicpressure;
	
	/**
	 * 脉搏
	 */
	private float pulse;
	
	
	/**
	 * 日期
	 */
	private String date;
	
	/**
	 * 所属年
	 */
	private Integer year;
	
	/**
	 * 所属月
	 */
	private String month;
	
	/**
	 * 所属周
	 */
	private Integer week;
	/**
	 * 数据来源 (0 蓝牙导入 1 手动输入)
	 */
	private Integer datafrom;
	/**
	 * empty constructor
	 */
	public BloodPressure (){}
	/**
	 * full constructor
	 * @param bid
	 * @param userID
	 * @param bloodpressure
	 * @param diastolicpressure
	 * @param pulse
	 * @param date
	 * @param year
	 * @param month
	 * @param week
	 * @param datafrom
	 */
	public BloodPressure(Integer bid, Integer userID, float bloodpressure,
			float diastolicpressure, float pulse, String date, Integer year,
			String month, Integer week, Integer datafrom) {
		super();
		this.bid = bid;
		this.userID = userID;
		this.bloodpressure = bloodpressure;
		this.diastolicpressure = diastolicpressure;
		this.pulse = pulse;
		this.date = date;
		this.year = year;
		this.month = month;
		this.week = week;
		this.datafrom = datafrom;
	}
	@Override
	public String toString() {
		return "BloodPressure [bid=" + bid + ", userID=" + userID
				+ ", bloodpressure=" + bloodpressure + ", diastolicpressure="
				+ diastolicpressure + ", pulse=" + pulse + ", date=" + date
				+ ", year=" + year + ", month=" + month + ", week=" + week
				+ ", datafrom=" + datafrom + "]";
	}
	public Integer getBid() {
		return bid;
	}
	public void setBid(Integer bid) {
		this.bid = bid;
	}
	public Integer getUserID() {
		return userID;
	}
	public void setUserID(Integer userID) {
		this.userID = userID;
	}
	public float getBloodpressure() {
		return bloodpressure;
	}
	public void setBloodpressure(float bloodpressure) {
		this.bloodpressure = bloodpressure;
	}
	public float getDiastolicpressure() {
		return diastolicpressure;
	}
	public void setDiastolicpressure(float diastolicpressure) {
		this.diastolicpressure = diastolicpressure;
	}
	public float getPulse() {
		return pulse;
	}
	public void setPulse(float pulse) {
		this.pulse = pulse;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public Integer getYear() {
		return year;
	}
	public void setYear(Integer year) {
		this.year = year;
	}
	public String getMonth() {
		return month;
	}
	public void setMonth(String month) {
		this.month = month;
	}
	public Integer getWeek() {
		return week;
	}
	public void setWeek(Integer week) {
		this.week = week;
	}
	public Integer getDatafrom() {
		return datafrom;
	}
	public void setDatafrom(Integer datafrom) {
		this.datafrom = datafrom;
	}
	
}
